package home

import (
	"gin-web/app"
	"gin-web/app/utils/rsp"
	"github.com/gin-gonic/gin"
)

func TestRedis(c *gin.Context) {
	val := app.RedisR().Get("name").String()
	rsp.JsonOk(c, rsp.SetData(val))
}
